home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
comms
/
mosiac
/
mosaic_1.2_dnet
/
docs
/
externalviewerdocs.html
< prev
next >
Wrap
Text File
|
1978-06-29
|
2KB
|
55 lines
<H1>Making viewing external files a happier experience</H1>
<HR>
Some of you have been wondering how to change the viewers that are
used for external files. Doing so requires changing the s:.mailcap
file, and, under some circumstances, the s:.mime.types file. <p>
<h2>The S:.Mailcap file</H2>
How to change the mailcap file should be reasonably evident. It
consists of type action pairs, on separate lines, with general types
(with * in them) being overridden by specific ones, if they exist.
The action is the name of the program to run to display the external
data, with %s being a place holder for the filename. <p>
The most common change you might want to make is to remove the public
screen parameters if you intend to run mosaic on the workbench. The
second most common change would be to replace calls to multiview by
calls to more specific viewers, such as viewtek or oplay, which you
may preferm, or by calls to arexx scripts with more powerful
capabilities (you may, for example, want to write a script that gives
you the option of saving the external file after you have viewed it). <p>
Note that the .mailcap file supplied is a simple example, and that you
are encouraged to improve upon it and share your improvements with
others. <p>
<h2>The s:.mime.types file</h2>
Mosaic uses three methods of determining the type of a file to be
displayed: <p>
<ol>
<li> If the file is served by an HTTP server (i.e. the url starts
http://), then the server on the remote host tells Mosaic what type
the file is. The server's opinion is presumed to be correct.
The .mime.types file is ignored in this case. (actually, it has to be
an http server running httpd V1.0 or greater - most do).
<li> If the file is served by an FTP, GOPHER or WAIS server, then the
Mosaic client uses the s:.mime.types file to attempt to determine the
file type from its file extension. You may edit the s:.mime.types file
to increase the number of files correctly handled this way. Remember,
you will not change the type of files served via http.
<li> If the file type is not given by the server or the s:.mime.types
file, defaults built into mosaic are used.
</ol>
<HR>
<h5>(c) 1993 Michael Witbrock</h5>